\hypertarget{classManager}{
\section{Manager Class Reference}
\label{classManager}\index{Manager@{Manager}}
}
\hyperlink{classManager}{Manager} has an important role in the system. \hyperlink{classUI}{UI} submits Workflows to be executed. The \hyperlink{classManager}{Manager} receives these submissions and creates Activities dispatching them to Workers, properly chosen through Discovery.  


{\tt \#include $<$manager.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classManager_ceed75d0f5b7c3fddc05ec956295ed79}{
\hyperlink{classManager_ceed75d0f5b7c3fddc05ec956295ed79}{Manager} (boost::uint16\_\-t port=12000)}
\label{classManager_ceed75d0f5b7c3fddc05ec956295ed79}

\begin{CompactList}\small\item\em Constructor. Default port value for \hyperlink{classWFQueueManager}{WFQueueManager} is 12000. \item\end{CompactList}\item 
\hyperlink{classManager_12e22ebd7fac8f8538f632537d1d2775}{Manager} (const \hyperlink{classAddress}{Address} \&address)
\begin{CompactList}\small\item\em Constructor specifying \hyperlink{classAddress}{Address} object. \item\end{CompactList}\item 
\hypertarget{classManager_290325723ed4a28950604ff228ef19cd}{
\hyperlink{classManager_290325723ed4a28950604ff228ef19cd}{$\sim$Manager} (void)}
\label{classManager_290325723ed4a28950604ff228ef19cd}

\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
\hypertarget{classManager_ffd3e0c9611dde467839a38b543b1860}{
boost::uint16\_\-t \hyperlink{classManager_ffd3e0c9611dde467839a38b543b1860}{getPort} (void) const }
\label{classManager_ffd3e0c9611dde467839a38b543b1860}

\begin{CompactList}\small\item\em Gets server port. \item\end{CompactList}\item 
void \hyperlink{classManager_27f476378ab609d0c976d36e4bf7bd72}{setPort} (boost::uint16\_\-t port)
\begin{CompactList}\small\item\em Sets server port to the provided one. \item\end{CompactList}\item 
void \hyperlink{classManager_6911cb8f59f3554b9b3685c738656967}{setPort} (const \hyperlink{classAddress}{Address} \&address)
\begin{CompactList}\small\item\em Sets server port using provided \hyperlink{classAddress}{Address}. \item\end{CompactList}\item 
void \hyperlink{classManager_50a0441d4357239c1c092b49546d9e36}{setDiscoveryAddress} (std::string IP, boost::uint16\_\-t port)
\begin{CompactList}\small\item\em Set \hyperlink{classAddress}{Address}, providing IP address and port, to use on DiscoveryProxy. \item\end{CompactList}\item 
\hypertarget{classManager_bbcc34ba2a759ad521d9043a9c4673c7}{
void \hyperlink{classManager_bbcc34ba2a759ad521d9043a9c4673c7}{run} (void)}
\label{classManager_bbcc34ba2a759ad521d9043a9c4673c7}

\begin{CompactList}\small\item\em Starts the queue manager and the forwarding service. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
\hyperlink{classManager}{Manager} has an important role in the system. \hyperlink{classUI}{UI} submits Workflows to be executed. The \hyperlink{classManager}{Manager} receives these submissions and creates Activities dispatching them to Workers, properly chosen through Discovery. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classManager_12e22ebd7fac8f8538f632537d1d2775}{
\index{Manager@{Manager}!Manager@{Manager}}
\index{Manager@{Manager}!Manager@{Manager}}
\subsubsection[Manager]{\setlength{\rightskip}{0pt plus 5cm}Manager::Manager (const {\bf Address} \& {\em address})}}
\label{classManager_12e22ebd7fac8f8538f632537d1d2775}


Constructor specifying \hyperlink{classAddress}{Address} object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em address}]The provided \hyperlink{classAddress}{Address} object. \end{description}
\end{Desc}


\subsection{Member Function Documentation}
\hypertarget{classManager_27f476378ab609d0c976d36e4bf7bd72}{
\index{Manager@{Manager}!setPort@{setPort}}
\index{setPort@{setPort}!Manager@{Manager}}
\subsubsection[setPort]{\setlength{\rightskip}{0pt plus 5cm}void Manager::setPort (boost::uint16\_\-t {\em port})}}
\label{classManager_27f476378ab609d0c976d36e4bf7bd72}


Sets server port to the provided one. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em port}]The provided port. \end{description}
\end{Desc}
\hypertarget{classManager_6911cb8f59f3554b9b3685c738656967}{
\index{Manager@{Manager}!setPort@{setPort}}
\index{setPort@{setPort}!Manager@{Manager}}
\subsubsection[setPort]{\setlength{\rightskip}{0pt plus 5cm}void Manager::setPort (const {\bf Address} \& {\em address})}}
\label{classManager_6911cb8f59f3554b9b3685c738656967}


Sets server port using provided \hyperlink{classAddress}{Address}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em address}]The provided \hyperlink{classAddress}{Address}. \end{description}
\end{Desc}
\hypertarget{classManager_50a0441d4357239c1c092b49546d9e36}{
\index{Manager@{Manager}!setDiscoveryAddress@{setDiscoveryAddress}}
\index{setDiscoveryAddress@{setDiscoveryAddress}!Manager@{Manager}}
\subsubsection[setDiscoveryAddress]{\setlength{\rightskip}{0pt plus 5cm}void Manager::setDiscoveryAddress (std::string {\em IP}, \/  boost::uint16\_\-t {\em port})}}
\label{classManager_50a0441d4357239c1c092b49546d9e36}


Set \hyperlink{classAddress}{Address}, providing IP address and port, to use on DiscoveryProxy. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em IP}]The string containing Discovery IP address. \item[{\em port}]The provided port. \end{description}
\end{Desc}


The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
\hyperlink{manager_8h}{manager.h}\item 
manager.cpp\end{CompactItemize}
